// 横线
.ant-divider-horizontal {
  margin: 0;
}

.ant-divider {
  background-color: @borderColor;
}

// 模态框浮在抽屉之上
.ant-modal-wrap {
  z-index: 2001;
}

// 模态框蒙层位置
.ant-modal-mask {
  z-index: 2001;
}
// 报错提示弹框
.ant-notification-topRight {
  z-index: 2003;
}
// 提示信息层位置
.ant-tooltip {
  z-index: 9999;
}

// 弹框标题
.ant-modal-title {
  font-weight: bold;
}

// tab通用样式
.tabCommon {
  .ant-tabs-bar {
    border-bottom: none;
    .ant-tabs-nav {
      .ant-tabs-tab {
        padding: 12px 0;
        margin: 0 48px 0 0;
      }
    }
  }
}

// 设置tooltip提示框
.ant-tooltip {
  white-space: pre-wrap;
}

.withSpinBox {
  position: relative;

  > .ant-spin-spinning {
    position: absolute;
    left: 50%;
    top: 20%;
  }
}

.withUploadArrowInputBox {
  position: relative;

  > span {
    position: absolute;
    right: 5px;
    top: 2px;
  }

  .ant-btn {
    border: none;
    background: transparent;
    min-width: 0;
    padding: 0 10px;
    border-radius: 0;

    i {
      font-size: 18px;
    }

    text-align: center;

    :active {
      box-shadow: none;
    }
  }
  // 取消点击按钮时光圈的效果
  button[ant-click-animating-without-extra-node]:after {
    border: 0 none;
    opacity: 0;
    animation: none 0 ease 0 1 normal;
  }
}

.ant-message {
  z-index: 3000;
}

.listSearchWrap {
  .ant-form-item-control {
    line-height: normal !important;
  }
}

.dsxw-table-pagination-wrapper {
  display: flex;
  flex-direction: column;
  .table-wrapper {
    flex: 1 0 0;
    //overflow: hidden;
  }
  .pagination-wrapper {
    flex: none;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
  }
}
// 查看条款的弹框
.clauseDialog {
  .ant-modal-body {
    position: relative;
    padding: 15px;
  }
}

// 版本分组弹框
.versionGroupDialog {
  .ant-modal-footer {
    margin-top: 20px;
  }
}

/**
* 解决表格当有固定列同时还有水平滚动条时，固定列挡住了水平滚动条的问题，影响美观
*/
.ant-table-fixed-left,
.ant-table-fixed-right {
  .ant-table-body-outer {
    margin-bottom: -9px !important;
  }
}

.withTableAndPaginationWrap {
  .pagination-wrapper {
    margin-top: 24px;
    text-align: center;
    color:#333;
  }
  .ant-table-body {
    // overflow: auto !important;
  }
  .ant-table-empty {
    .ant-table-body {
      min-height: 0 !important;
    }
  }
}
.rowRemoved td {
  background: #ccc;
}

.hasError,
.hasError:hover {
  border-color: #f5222d;
}
.hasError .ant-input {
  border-color: #f5222d;
}
// 带有滚动条的表格无数据时看不全表头，表头行出现滚动条
.ant-table-placeholder {
  padding: 0;
  border-top: none;
}
.ant-upload-list-item-info .anticon-loading, .ant-upload-list-item-info .anticon-paper-clip {
  position: absolute;
  top: 0.3rem !important;
  color: #666;
  font-size: 1.4rem;
}

.ant-table-scroll {
  >.ant-table-body{
      overflow-x: scroll;
  }
  .ant-table-fixed-header {
      .ant-table-body-inner {
          overflow-x: hidden;
      }
  }

}
// 确认弹窗的文字需要打断所有单词，按字数换行
.ant-modal-confirm-body > .anticon + .ant-modal-confirm-title + .ant-modal-confirm-content {
  word-break: break-all;
}

.ant-steps-item-process {
  .ant-steps-item-icon {
    background: rgb(20, 112, 146);
    font-size: 14px;
    font-weight: 400;
    .ant-steps-item-icon {
      background-color: #fff;
      border-color: rgb(20, 112, 146);
    }
  }
  & > .ant-steps-item-container {
    & > .ant-steps-item-tail::after {
      background-color: rgb(216, 223, 233);
      height: 2px;
      //background-color: rgba(0, 0, 0, 0.1);
    }
    & > .ant-steps-item-content > .ant-steps-item-description {
      color: rgb(183, 194, 207);
      font-size: 12px;
    }
  }
  .ant-steps-item-title{
    font-size: 14px;
    color: rgb(65, 80, 88);
  }
}

